package net.hn.hnms.biz.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("结算信息")
public class ContractPaymentVo extends BaseVO{
    @ApiModelProperty(value = "id")
    private String contractPaymentId;

    @ApiModelProperty(value = "结算编号")
    private String paymentCode;

    @ApiModelProperty(value = "结算金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "结算标题")
    private String paymentTitle;

    @ApiModelProperty(value = "结算人")
    private String paymentPerson;

    @ApiModelProperty(value = "结算单位")
    private String paymentCompany;

    @ApiModelProperty(value = "结算方式")
    private String paymentType;

    @ApiModelProperty(value = "结算币种")
    private String paymentCurrency;

    @ApiModelProperty(value = "结算时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date paymentDate;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "结算状态（0未结算 1已结算）")
    private String paymentState;

    @ApiModelProperty(value = "合同ID")
    private String contractId;

    @ApiModelProperty(value = "结算类型 0收款 1付款")
    private String type;

    @ApiModelProperty(value = "发票号")
    private String invoiceCode;

    @ApiModelProperty(value = "发票ID")
    private String contractInvoiceId;
}
